package com.alibaba.citrus.cr.sales.plan.api.salesplan.publish;

import com.alibaba.citrus.cr.sales.plan.dto.api.request.DispatchPlanScItemRequest;
import com.alibaba.lattice2.epoch.sdk.model.Result;

/**
 * @author zls
 * @description: 月度计划发布相关接口
 * @date 2021-10-14 19:10
 */
public interface SalesPlanPublishWriteServiceNew {

    /**
     * 生成部门任务量优化接口
     *
     * @param dispatchPlanScItemRequest
     * @return
     */
    Result<Boolean> dispatchPlanScItemForDepartment(DispatchPlanScItemRequest dispatchPlanScItemRequest);

    /**
     * 生成客户任务量
     *
     * @param dispatchPlanScItemRequest
     * @return
     */
    Result<Boolean> dispatchPlanScItemForCustomer(DispatchPlanScItemRequest dispatchPlanScItemRequest);

    /**
     * 分解月度计划部门任务量
     * @param dispatchPlanScItemRequest
     * @return
     */
    Boolean dispatchPlanScItemForDepartmentNew(DispatchPlanScItemRequest dispatchPlanScItemRequest);

    /**
     * 分解月度计划客户任务量
     * @param dispatchPlanScItemRequest
     */
    void dispatchPlanScItemForCustomerNew(DispatchPlanScItemRequest dispatchPlanScItemRequest);

    /**
     * 分解月度计划调整任务量
     * @param dispatchPlanScItemRequest
     */
    void dispatchPlanScItemForAdjustNew(DispatchPlanScItemRequest dispatchPlanScItemRequest);
}
